<!--
 * @description  : 市管-零售户或者无证户选择列表展示组件
 * @descriptionDetail: 市管-零售户或者无证户选择列表展示组件
 * @copyright    : 浙江烟草
 * @author       : mc
 * @create       : 2022-07-09 18:43:02
-->
<template>
  <view>
    <u-row gutter="16">
      <u-col span="12">
        <view class="title">
          <u-icon :label="client.companyName" size="30" name="../../static/check/licence.png" v-if="client.licNo"></u-icon>
          <u-icon :label="client.companyName" size="30" name="../../static/check/nolicence.png" v-else></u-icon>
        </view>
      </u-col>
      <u-col span="12">
        <view class="sub-title">
          {{ client.businessAddr }}
        </view>
      </u-col>
      <u-row class="sub-title" v-if="client.licNo">
        <u-col :span="6">
          许可证号：
        </u-col>
        <u-col :span="6">
          {{ client.licNo }}
        </u-col>
      </u-row>
      <u-col span="12">
        <u-row class="sub-title">
          <u-col span="5">
            <u-icon :label="client.managerName" size="30" name="../../static/check/manager.png"></u-icon>
          </u-col>
          <u-col span="2">
          </u-col>
          <u-col span="5">
            <u-icon :label="client.retailTel" size="25" name="../../static/check/phone.png"></u-icon>
          </u-col>
        </u-row>
      </u-col>
    </u-row>
  </view>
</template>
<script>
export default {
  name: "ClientItem",
  props: {
    client: {
      type: Object,
      default: () => {},
    },
  },
  data() {
    return {
      tels: [],
    }
  },
  watch: {
    client: {
      immediate: true,
      handler() {
        this.$forceUpdate();
      },
    },
  },
  methods: {
    
  },
}
</script>
<style lang="scss" scoped>
.title {
  font-size: 15px;
  color: #666;
  font-weight: 600;
  margin: 5px 10px;
}
.sub-title {
  color: #666;
  margin: 3px 10px;
}
</style>